package com.dj.mingkong.admin.biz.controller.music.vo.request;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * 专辑音乐VO
 *
 * @author zenglonghui
 * @date: 2022/8/16 15:20
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class AlbumMusicUpdateVo implements Serializable {

    /**
     * 音乐id
     */
    @NotNull(message = "musicId not be null")
    private Long musicId;

    @NotEmpty(message = "albumIdList can not be empty")
    private List<Long> albumIdList;

}
